package com.zg.monitor.file.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author Zxb
 * 监控参数
 */
@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class WatchVo {
    @NotBlank
    private String code;
    @NotBlank
    private String clientId;
    @NotBlank
    private String filePath;
    @Builder.Default
    private Integer linesToOutput = 10;
    @Builder.Default
    private Boolean isOpen = true;
    private String folderPath;
    private String fileName;
}
